//
//  JMSearchBar.m
//  OpenSesame
//
//  Created by zhangjiaming on 16/1/4.
//  Copyright © 2016年 OpenSesame. All rights reserved.
//

#import "JMSearchBar.h"

@implementation JMSearchBar
+ (instancetype)searchBar {
    return [[self alloc] init];
}

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.font = [UIFont systemFontOfSize:12];
        self.placeholder = @"搜索电动门品牌/型号";
    }
    return self;
}
@end
